package com.chuanjiabao.wisdom.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by 86178 on 2019/8/20.
 * author mogen
 * 用心，成就一切。
 */

public class FamilyVideoCallbackBean {
    /**
     * code : 1
     * data : {"current_page":1,"data":[{"create_time":1566295601,"file":"home_3rRVQZBjrB4nNema/video_1565856879852.mp4","file_bucket":"chuanjiabao","file_hash":"\u2018\u2019","file_size":895307,"file_type":2,"file_user":27,"home_id":18,"id":69,"params":{"test":"23","x-oss-process":"style/thumb_app"}},{"create_time":1566295601,"file":"home_3rRVQZBjrB4nNema/video_1565856879852.mp4","file_bucket":"chuanjiabao","file_hash":"\u2018\u2019","file_size":895307,"file_type":2,"file_user":27,"home_id":18,"id":70,"params":{"test":"23","x-oss-process":"style/thumb_app"}}],"per_page":9}
     * msg : 成功
     */

    private int code;
    private DataBeanX data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBeanX {
        /**
         * current_page : 1
         * data : [{"create_time":1566295601,"file":"home_3rRVQZBjrB4nNema/video_1565856879852.mp4","file_bucket":"chuanjiabao","file_hash":"\u2018\u2019","file_size":895307,"file_type":2,"file_user":27,"home_id":18,"id":69,"params":{"test":"23","x-oss-process":"style/thumb_app"}},{"create_time":1566295601,"file":"home_3rRVQZBjrB4nNema/video_1565856879852.mp4","file_bucket":"chuanjiabao","file_hash":"\u2018\u2019","file_size":895307,"file_type":2,"file_user":27,"home_id":18,"id":70,"params":{"test":"23","x-oss-process":"style/thumb_app"}}]
         * per_page : 9
         */

        private int current_page;
        private int per_page;
        private List<DataBean> data;

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * create_time : 1566295601
             * file : home_3rRVQZBjrB4nNema/video_1565856879852.mp4
             * file_bucket : chuanjiabao
             * file_hash : ‘’
             * file_size : 895307
             * file_type : 2
             * file_user : 27
             * home_id : 18
             * id : 69
             * params : {"test":"23","x-oss-process":"style/thumb_app"}
             */

            private int create_time;
            private String file;
            private String file_bucket;
            private String file_hash;
            private int file_size;
            private int file_type;
            private int file_user;
            private int home_id;
            private int id;
            private ParamsBean params;

            public int getCreate_time() {
                return create_time;
            }

            public void setCreate_time(int create_time) {
                this.create_time = create_time;
            }

            public String getFile() {
                return file;
            }

            public void setFile(String file) {
                this.file = file;
            }

            public String getFile_bucket() {
                return file_bucket;
            }

            public void setFile_bucket(String file_bucket) {
                this.file_bucket = file_bucket;
            }

            public String getFile_hash() {
                return file_hash;
            }

            public void setFile_hash(String file_hash) {
                this.file_hash = file_hash;
            }

            public int getFile_size() {
                return file_size;
            }

            public void setFile_size(int file_size) {
                this.file_size = file_size;
            }

            public int getFile_type() {
                return file_type;
            }

            public void setFile_type(int file_type) {
                this.file_type = file_type;
            }

            public int getFile_user() {
                return file_user;
            }

            public void setFile_user(int file_user) {
                this.file_user = file_user;
            }

            public int getHome_id() {
                return home_id;
            }

            public void setHome_id(int home_id) {
                this.home_id = home_id;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public ParamsBean getParams() {
                return params;
            }

            public void setParams(ParamsBean params) {
                this.params = params;
            }

            public static class ParamsBean {
                /**
                 * test : 23
                 * x-oss-process : style/thumb_app
                 */

                private String test;
                @SerializedName("x-oss-process")
                private String xossprocess;

                public String getTest() {
                    return test;
                }

                public void setTest(String test) {
                    this.test = test;
                }

                public String getXossprocess() {
                    return xossprocess;
                }

                public void setXossprocess(String xossprocess) {
                    this.xossprocess = xossprocess;
                }
            }
        }
    }
}
